package com.hdoit.kylin.logical.group.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.common.message.ModelBase;

/**
 * @author luozhicheng
 * @email
 * @createtime 2017年07月18日 19:54:00
 * @comment
 */
@Entity
@Table(name = "group_task")
public class Task extends ModelBase {
	// 任务id
	@Id
	@Column(name = "taskId")
	private String taskId;
	
	// 所属课题组id
	@Column(name = "groupId")
	private String groupId;
	
	// 发布人id
	@Column(name = "publisherId")
	private String publisherId;
	
	// 发布时间
	@Column(name = "publishDate")
	private Date publishDate;
	
	// 截止时间
	@Column(name = "finishDate")
	private Date finishDate;
	
	// 任务描述
	@Column(name = "comments")
	private String comments;
	
	// 任务名称
	@Column(name = "taskName")
	private String taskName;
	
	// 进度
	@Column(name = "process")
	private String process;
	
	// 执行者
	@Column(name = "employeeId")
	private String employeeId;
	
	// 学期
	@Column(name = "semester")
	private String semester;
	
	// 学生姓名
	@Transient
	private String theStudentName;
	
	// 导师姓名
	@Transient
	private String theTeacherName;
	
	//课题组名称
	@Transient
	private String theGroupName;

	public String getTaskId() {
		return this.taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getPublisherId() {
		return this.publisherId;
	}

	public void setPublisherId(String publisherId) {
		this.publisherId = publisherId;
	}

	public Date getPublishDate() {
		return this.publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public Date getFinishDate() {
		return this.finishDate;
	}

	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getTaskName() {
		return this.taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getProcess() {
		return this.process;
	}

	public void setProcess(String process) {
		this.process = process;
	}

	public String getEmployeeId() {
		return this.employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public String getSemester() {
		return semester;
	}

	public void setSemester(String semester) {
		this.semester = semester;
	}

	public String getTheStudentName() {
		return theStudentName;
	}

	public void setTheStudentName(String theStudentName) {
		this.theStudentName = theStudentName;
	}

	public String getTheGroupName() {
		return theGroupName;
	}

	public void setTheGroupName(String theGroupName) {
		this.theGroupName = theGroupName;
	}

	public String getTheTeacherName() {
		return theTeacherName;
	}

	public void setTheTeacherName(String theTeacherName) {
		this.theTeacherName = theTeacherName;
	}
	
}